﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.Models.LyModel
{
    [Table("T_PurchaseOrder")]
    /// <summary>
    /// 采购订单
    /// </summary>
    public class PurchaseOrder:BaseEntity
    {
      
        public int PurchasePlanId { get; set; }  // 关联的采购计划
        [StringLength(30)]
        public string OrderNumber { get; set; }  // 订单号
        public DateTime OrderDate { get; set; }  // 订单日期
        public decimal TotalAmount { get; set; }  // 总金额
        [StringLength(10)]
        public string Status { get; set; }  // 状态（例如：待审核、已完成）
        
    }

   
}
